package com.alcatellucent.ldap;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.EditText;
import android.widget.TextView;

import com.alcatellucent.R;
import com.alcatellucent.vo.UserVO;

public class UserDetailedInfoActivty extends Activity {
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.userdetailedinfo);
		
		Intent input = getIntent();
		UserVO userInfo = (UserVO) input.getSerializableExtra("userdetailinfo");
		
		TextView displayName = (TextView) findViewById(R.id.textView2);
		TextView firstName = (TextView) findViewById(R.id.textView4);
		TextView lastName = (TextView) findViewById(R.id.textView6);
		TextView company = (TextView) findViewById(R.id.textView8);
		TextView extension = (TextView) findViewById(R.id.textView10);
		TextView mail = (TextView) findViewById(R.id.textView12);
		TextView country = (TextView) findViewById(R.id.textView14);
	//	EditText password = (EditText) findViewById(R.id.editText1);
		
		displayName.setText(userInfo.getName());
		firstName.setText(userInfo.getFirstname());
		lastName.setText(userInfo.getLastname());
		company.setText(userInfo.getCompany());
		extension.setText(userInfo.getExtension());
		mail.setText(userInfo.getMail());
		country.setText(userInfo.getCountry());
	//	password.setText(userInfo.getPassword());
		
	}

}
